echo '<meta http-equiv="content-type" content="text/html;charset=utf-8">' > t.html
pandoc ${1}  --from markdown --to html >> t.html
wkhtmltopdf -n --enable-local-file-access t.html ${2}
rm t.html

